<template>
  <div>
    <h2>我是Vue渲染出来的</h2>
    <h2>{{title}}</h2>
    <hello/>
  </div>
</template>

<script>
    import Hello from './Hello.vue'

    export default {
        components: {
            Hello: Hello
        },
        data() {
            return {
                title: 'hello'
            }
        }
    }
</script>

<style scoped>
    h2 {
        color: red;
    }
</style>